Skip to content

Fix text visibility on interview prep page cards for better readability - #13

Merged
Adez017 merged 5 commits into
revert-fixesfrom
copilot/fix-ux-issue-899
Oct 15, 2025
Merged

Fix text visibility on interview prep page cards for better readability#13
Adez017 merged 5 commits into
revert-fixesfrom
copilot/fix-ux-issue-899

Conversation

Copilot AI commented Oct 15, 2025

Copy link
Copy Markdown

Fix Text Visibility on Interview Prep Page ✅

Issue Reference

Fixes recodehive#899 - Text not clearly visible on the cards on the interview prep page

Updates

Additional fix for practice question cards based on feedback:

PracticeTab.tsx - Practice Question Cards: Enhanced text visibility in:

  • Filter labels ("Filter by Type" and "Filter by Difficulty")
  • Question count display
  • Category badges
  • "Show Hints" button
  • Hint list items and text
  • "Show Resources" button
  • Resource link cards (default type)
  • Completed question button text

Changes Made

Text Color Improvements:

  • Filter labels: text-gray-700 dark:text-gray-300text-gray-800 dark:text-gray-200
  • Question count: text-gray-600 dark:text-gray-400text-gray-800 dark:text-gray-200
  • Category badges: text-gray-600 dark:text-gray-400text-gray-800 dark:text-gray-200
  • Show Hints button: text-gray-600 dark:text-gray-400text-gray-800 dark:text-gray-200
  • Hint items: text-gray-700 dark:text-gray-300text-gray-800 dark:text-gray-200
  • Show Resources button: text-gray-600 dark:text-gray-400text-gray-800 dark:text-gray-200
  • Resource links: text-gray-700 dark:text-gray-300text-gray-800 dark:text-gray-200
  • Completed button: text-gray-600 dark:text-gray-300text-gray-800 dark:text-gray-200

Button Background and Border Improvements:

Show Hints Button:

  • Background: Changed from semi-transparent bg-gray-50 to solid bg-white
  • Border: Strengthened from border-gray-200 to border-gray-300
  • Hover states: Enhanced with shadow effects
  • Badge: Increased saturation from from-blue-100 to from-blue-200 with darker text (text-blue-800)

Show Resources Button:

  • Background: Increased saturation from from-indigo-50/via-purple-50/to-pink-50 to from-indigo-100/via-purple-100/to-pink-100
  • Border: Strengthened from border-indigo-200/50 to border-indigo-300
  • Hover states: More saturated colors for better feedback
  • Badge: Increased saturation from from-indigo-100 to from-indigo-200 with darker text (text-indigo-800)

All text elements and buttons on the practice question cards now have improved contrast and visibility in both light and dark modes. Buttons are clearly visible without requiring hover states.

Original prompt

@recodehive/recode-websiterecodehive/issues/899
Fix this issue , make sure your chnages enhance the UX


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits October 15, 2025 04:54
Co-authored-by: Adez017 <142787780+Adez017@users.noreply.github.com>
Co-authored-by: Adez017 <142787780+Adez017@users.noreply.github.com>
@Adez017

Adez017 commented Oct 15, 2025

Copy link
Copy Markdown
Owner

@copilot , i expiclityly want to you fix this cards also :
image

Copilot AI changed the title [WIP] Fix UX issue in Recode website Fix text visibility on interview prep page cards for better readability Oct 15, 2025
Copilot AI requested a review from Adez017 October 15, 2025 05:03
Co-authored-by: Adez017 <142787780+Adez017@users.noreply.github.com>

Copilot AI commented Oct 15, 2025

Copy link
Copy Markdown
Author

@copilot , i expiclityly want to you fix this cards also :
image

...

Fixed the text visibility on the practice question cards. Improved contrast for:

  • "Show Resources" and "Show Hints" buttons
  • Category badges
  • Filter labels and question count
  • Hint text
  • Resource link cards

Changes applied in commit 3c1325b.

@Adez017

Adez017 commented Oct 15, 2025

Copy link
Copy Markdown
Owner

@copilot , just look on the cards the text on buttons is not good and clearly visible , also the show hints things only visible on hover . also you can fix the colors

Co-authored-by: Adez017 <142787780+Adez017@users.noreply.github.com>

Copilot AI commented Oct 15, 2025

Copy link
Copy Markdown
Author

@copilot , just look on the cards the text on buttons is not good and clearly visible , also the show hints things only visible on hover . also you can fix the colors

Enhanced button visibility on practice question cards. Made the following improvements:

Show Hints button:

  • Solid white background instead of semi-transparent gray
  • Stronger border for better definition
  • Text is now clearly visible without hover

Show Resources button:

  • More saturated purple/pink gradient background (changed from -50 to -100 variants)
  • Stronger border
  • Text is now clearly visible without hover

Number badges:

  • Increased background saturation
  • Darker text for better contrast

All buttons are now clearly visible in both light and dark modes without requiring hover.

Changes in commit 78f96d4.

@Adez017
Adez017 marked this pull request as ready for review October 15, 2025 05:13
@Adez017
Adez017 merged commit aa23f33 into revert-fixes Oct 15, 2025
@github-actions

Copy link
Copy Markdown

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project.

I would be grateful if you can nominate for keeping this opensource project live and running Link to Nominate. Please do star the repo and Keep up the fantastic work! 🚀

@Adez017
Adez017 deleted the copilot/fix-ux-issue-899 branch November 1, 2025 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants